package com.hkts.naturalgas.base.entity;

import java.io.Serializable;

import com.baomidou.mybatisplus.extension.activerecord.Model;
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.hkts.naturalgas.config.JsonSerializerUtils;

import java.time.LocalDateTime;
import java.io.Serializable;

/**
 * <p>
 *
 * </p>
 *
 * @author yck
 * @since 2021-05-31
 */
public class RoastingPurifyWetElectricity extends Model<RoastingPurifyWetElectricity> {

    private static final long serialVersionUID = 1L;

    /**
     * 主键id
     */
    private String id;
    /**
     * 时间
     */
    private LocalDateTime time;
    /**
     * 焙烧一电场二次电流
     */
    @JsonSerialize(using = JsonSerializerUtils.class)
    private Float bsjhSdi2;
    /**
     * 焙烧一电场二次电压
     */
    @JsonSerialize(using = JsonSerializerUtils.class)
    private Float bsjhSdv2;
    /**
     * 焙烧一电场二次电流
     */
    @JsonSerialize(using = JsonSerializerUtils.class)
    private Float bsjhSd2i2;
    /**
     * 焙烧一电场二次电压
     */
    @JsonSerialize(using = JsonSerializerUtils.class)
    private Float bsjhSd2v2;


    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public LocalDateTime getTime() {
        return time;
    }

    public void setTime(LocalDateTime time) {
        this.time = time;
    }

    public Float getBsjhSdi2() {
        return bsjhSdi2;
    }

    public void setBsjhSdi2(Float bsjhSdi2) {
        this.bsjhSdi2 = bsjhSdi2;
    }

    public Float getBsjhSdv2() {
        return bsjhSdv2;
    }

    public void setBsjhSdv2(Float bsjhSdv2) {
        this.bsjhSdv2 = bsjhSdv2;
    }

    public Float getBsjhSd2i2() {
        return bsjhSd2i2;
    }

    public void setBsjhSd2i2(Float bsjhSd2i2) {
        this.bsjhSd2i2 = bsjhSd2i2;
    }

    public Float getBsjhSd2v2() {
        return bsjhSd2v2;
    }

    public void setBsjhSd2v2(Float bsjhSd2v2) {
        this.bsjhSd2v2 = bsjhSd2v2;
    }

    public static final String ID = "id";

    public static final String TIME = "time";

    public static final String BSJH_SDI2 = "bsjh_sdi2";

    public static final String BSJH_SDV2 = "bsjh_sdv2";

    public static final String BSJH_SD2I2 = "bsjh_sd2i2";

    public static final String BSJH_SD2V2 = "bsjh_sd2v2";

    @Override
    protected Serializable pkVal() {
        return this.id;
    }

    @Override
    public String toString() {
        return "RoastingPurifyWetElectricity{" +
                ", id=" + id +
                ", time=" + time +
                ", bsjhSdi2=" + bsjhSdi2 +
                ", bsjhSdv2=" + bsjhSdv2 +
                ", bsjhSd2i2=" + bsjhSd2i2 +
                ", bsjhSd2v2=" + bsjhSd2v2 +
                "}";
    }
}
